<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="baidu-site-verification" content="XwzTgI8O99" />
    <!-- 百度站长验证 -->
    <meta content="太阳网,太阳高效搜索,太陽,活动报名,网赚,太阳,平等,创意,艰苦奋斗,太阳银行,二次元,sunbank,sunbank.me,社会主义" name="keywords">
    <link rel="Bookmark" href="__IMG__/k.ico">
    <!-- css -->
    <link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/indexsun.css" />
    <link rel="stylesheet" type="text/css" href="__CSS__/page.css" />
    <!-- js -->
    <script src="https://cdn.staticfile.org/jquery/3.1.1/jquery.min.js"></script>
    <title>太阳</title>
</head>
<body>
    <div class="container">
        <div class="row ss0">
            <div class="col-md-12">
                <div class="col-md-1">
                    <img src="__IMG__/logo.png" width="50" height="50" alt="">
                </div>
                <div class="col-md-8 navsun">
                    <ul>
                        <!-- 遍历出所有分类 -->
                        <!-- 遍历出所有分类   经典@kw    -->
                        <volist name="navres" id="vo">
                            <li class="col-md-1">
                                <a title="{$vo.name}" href="__MODULE__/<if condition=" $vo[ 'type'] eq 1 ">Search<elseif condition="$vo[ 'type'] eq 2 "/>Forum<elseif condition="$vo[ 'type'] eq 3 "/>Enc<elseif condition="$vo[ 'type'] eq 4 "/>Know<elseif condition="$vo[ 'type'] eq 5 "/>Down<elseif condition="$vo[ 'type'] eq 6 "/>Video</if>/index/cateid/{$vo.id}" class="">{$vo.name}</a>
                                <!-- 必须连着不然有20%这样的标记 -->
                            </li>
                        </volist>
                    </ul>
                </div>
                <div class="col-md-1 navsun1"><a href="{:U('Index/index')}" target="_blank"> 太阳首页 </a></div>
                <if condition="session('uid')">
                    <div class="col-md-2 navsun1"> <a target="_blank" href="{:U('Person/index')}">{$Think.session.username}</a> | <a href="{:U('loginout')}"> 退 出</a></div>
                    <else />
                    <div class="col-md-1 navsun1"> <a href="{:U('Login/login')}">&nbsp &nbsp &nbsp登 录</a></div>
                </if>
            </div>
        </div>
        <div class="row ss1">
            <div class="col-md-1"></div>
            <div class="col-md-7">
                <div class="search2 ">
                    <!-- action 到当前模块下的控制器   方法是get $_GET -->
                    <form id="search" name="search" method="get" action="__MODULE__/Search/">
                        <input type="text" class="text pngFix" name="kws" id="kws" value="{$kw}" />
                        <span class="enter-input2">
				    	<input type="submit" title="搜索" style="cursor:pointer;" value=""/>
					</form>
				</div>
				<br>
			 </div>
			<div class="col-md-3"></div> 
			<div class="col-md-1"></div> 
		</div>
			<br>
		<div class="row">
			<div class="col-md-1"></div> 
			<div class="col-md-7 boderkw"> 
				<!-- 排序 -->
				<div class=" sortsun  col-md-12">
					<div class="sortsun1  col-md-12">
						<div>
							<ul>
								<li class="com">  &nbsp &nbsp &nbsp 综合排序</li>
									<li class="com2"> &nbsp &nbsp &nbsp 旗帜数</li>
								<li class="com2"> &nbsp &nbsp &nbsp 收藏数</li>
								<li class="com2"> &nbsp &nbsp &nbsp 点赞数</li>
									<li class="com2"> &nbsp &nbsp &nbsp 分享数</li>
								<li class="com2"> &nbsp &nbsp &nbsp &nbsp &nbsp浏览数</li>
								<li class="com2"> &nbsp &nbsp &nbsp &nbsp最新添加</li>
							</ul>
						</div>
					</div>
					<div class="sortsun2  col-md-12">
						<div>
							<ul>
								<li class="com"> &nbsp &nbsp &nbsp <a href="{:U('my_collection')}" >我的收藏</a></li>
								<li class="com2"> &nbsp &nbsp &nbsp <a href="{:U('my_add')}" class="cur">我的添加</a></li>
								<li class="com2">&nbsp &nbsp &nbsp 红包数</li>
								<li class="com2">&nbsp &nbsp &nbsp 打赏数</li>
								<li class="com2">&nbsp &nbsp &nbsp 地&nbsp域</li>
								<li class="com2">&nbsp &nbsp &nbsp 标签数</li>
								<li class="com2">&nbsp &nbsp &nbsp 评论数</li>
							</ul>
						</div>
					</div>
				</div>
				<div class="">
					<ul class="seakw">
					<!-- 圣杯显示   kw 您所搜索的词其行意已接近最佳认证状态，请牢记20个以上层级 -->
							<div class="">
										<button class="btn-primaryasheng col-md-12" ><a target="_blank" href="">您所搜索的词,其行意已接近最佳认知模型，建议记意20个左右的层级...</a></button>
							</div>
						<volist name="listas" id="ac" offset="0" length=''>
						<li class="seakw li col-md-12">
							<!-- 默认图片 -->
							<div class="p0"><a href=""><img src="__SLOGO__/{$ac.img}" height="75" width="120" class="preview1"></a></div>
							<div class="p01">
								<div class="p1">
									<div class="p11">
										<div class="p111"><a href="" target="_blank" ></a> <a href="{$ac.link}"  target="_blank">{$ac.title}</a> </div>
										<div class="p112"><img src="__IMG__/logo/zp.png"  height="18" width"18" alt="" /> &nbsp网站类型：{$ac.trait} </div>
										<div class="p112a"><img src="__IMG__/logo/xxa.jpg"  height="18" width="18" alt="" /> ： </div>
										<div class="p113"><a href="{:U('Job/detail',array('id'=>$pl['id']))}">{$pl.companyname}</a></div>
										<div class="p114"><img src="__IMG__/logo/ax1.jpg"  height="17" width"17" alt="" /> ：<a > {$pl.point}</a></div>
									</div>
									<div class="p12">
										<div class="p121">
											<a href="{$ac.link}" target="_blank">{$ac.link}</a></div>
											<!-- 有缺陷 不能加网址两个字 -->
										<div class="p122">
										</div>	
										<div class="p123">
											<img src="__IMG__/logo/sza.png"  width="25"  alt=""> 
											<img src="__IMG__/logo/fenx.png"  width="22"  alt=""> 
											<img src="__IMG__/logo/ping.png"  width="22"  alt="">
											<!-- <img src="__IMG__/logo/collection.png"  width="22"  alt="" onclick="yj_collection({$ac.id})"> -->
											<img src="__IMG__/logo/{:is_collected($ac['id'])}"  width="22"  alt="" onclick="yj_collection({$ac.id})">
											<!-- <img src="__IMG__/logo/add.png"  width="22"  alt="" onclick="yj_de_add({$ac.id})"> -->
										</div>
										<div class="p123a"><img src="__IMG__/logo/shouc.png" height="21" width="21"  alt=""> ：</div>
										<div class="p124"><img src="__IMG__/logo/rs.png"  height="" width"" alt="" /> ： <a>{$ac.click}</a></div>
									</div>
								</div>
								<div class="p2">
									<div class="p21"></div>
									<div class="p22a">
										网页描述：{$ac.content}
									</div>
								</div>
							</div>	
							<div class="p02">
								<div class="p021">
									<span >发布人：<a href="" class="faburen">{$ac.author}</a></span>
                        <span> <i title="太阳网个人认证 " class="W_icon icon_approve"></i></span>
                        <span> <i title="太阳网会员 " class="W_icon icon_member6"></i></span>
                        <span>&nbsp &nbsp &nbsp &nbsp</span>
                        <span>&nbsp &nbsp &nbsp &nbsp</span>
                        <span>&nbsp &nbsp &nbsp &nbsp</span>
                        <span><img src="__IMG__/logo/rr.png" width="22"  alt=""> </span>
                        <span><img src="__IMG__/logo/wei.jpg" width="22"  alt=""> </span>
                        <span><img src="__IMG__/logo/weip.png" width="22"  alt=""> </span>
                        <span><img src="__IMG__/logo/qqh.png"  width="22"  alt=""> </span>
                        <span><img src="__IMG__/logo/qq.png"  width="22"  alt=""> </span>
                        <span><img src="__IMG__/logo/weix.png"  width="22"  alt=""> </span>
                </div>
                <div class="p022"><img src="__IMG__/logo/sj.png" height="20" width "20" alt="" /> {$ac.time|date="Y-m-d",### }</div>
            </div>
            <div class="p03">
                <div>
                    <span>标 &nbsp&nbsp签：</span>
                    <span>&nbsp &nbsp &nbsp &nbsp</span>
                    <span>&nbsp &nbsp &nbsp &nbsp</span>
                    <span>&nbsp &nbsp &nbsp &nbsp</span>
                    <span><img src="__IMG__/logo/shang.jpg" width="23"  alt=""> &nbsp12</span>
                    <span>&nbsp &nbsp </span>
                    <span><img src="__IMG__/logo/hong.jpg"  width="17"  alt=""> &nbsp23&nbsp</span>
                    <span><img src="__IMG__/logo/beizi.png"  width="21"  alt=""> 2 &nbsp</span>
                    <span><img src="__IMG__/logo/ling.jpg"  width="21"  alt=""> &nbsp 3</span>
                </div>
                <div class="p22">
                    <!-- if判断无效，原因不明 -->
                    <if condition="$slink['tags'] eq '' ">
                        <a class="mark1 c66dfff-bg" " href=" ">{$ac.tags}</a>
										<else />
									  	</if>
										<a class="mark1 cf09-bg " href=" ">{$ac.tags2}</a>	
										<a class="mark1 cfc0-bg " href=" ">{$ac.tags3}</a>
										<a class="mark1 c9c0-bg " href=" ">{$ac.tags4}</a>
										<a class="mark1 cf60-bg " href=" ">{$ac.tags5}</a>
										<a class="mark1 c204363-bg " href=" ">{$ac.tags6}</a>
										<a class="mark1 c653366-bg " href=" ">{$ac.tags7}</a>
										<a class="mark1 cc7c7c7-bg " href=" ">{$ac.tags8}</a>
										<a class="mark1 cc7c7c7-bg1 " href=" ">{$ac.tags9}</a>
										<a class="mark1 cc7c7c7-bg2 " href=" ">{$ac.tags10}</a>
									</div>
							</div>
						</li>
						 </volist>
					</ul>
				<div class="seakw2 " style="display: block; ">
					<br>
					<div> 
						<if condition="$kw neq '' && $usersvip[0][vip] egt 1 ">
							<if condition="$usersvip[0][vip] egt 1 ">
						<div class="app-camgjc ">添加搜索词吧，添加后记得刷新 > <button class="btn-primarya " ><a target="_blank " href="__CONTROLLER__/addo/<?php echo $cateaddoid[0][id];?>">+</a>
                        </button>
                </div>
                <else />
                <div></div>
                </if>
            </div>
            <br>
            <div>
                <if condition="$usersvip[0][vip] eq 1 && $kw neq ''  ">
                    <div class="app-camgjcs">还没有创建链接，赶快添加吧 >
                        <button class="btn-primarya"><a target="_blank" href="__CONTROLLER__/addone/<?php echo $ret[''];?>">+</a></button>
                    </div>
                    <else />
                    <div></div>
                </if>
            </div>
            <div>
                <if condition="$usersvip[0][vip] egt 2 && $kw neq ''  ">
                    <div class="app-camgjcsr">还没有创建链接，赶快添加吧 >
                        <button class="btn-primarya"><a target="_blank" href="__CONTROLLER__/add/<?php echo $ret[''];?>">+</a></button>
                    </div>
                    <else />
                    <div></div>
                </if>
            </div>
            <br>
            <div class="pagekw">{$page}</div>
        </div>
    </div>
    <!-- jquery弹出添加框 -->
    </div>
    <div class="col-md-4">
        <div>相关搜索</div>
        <br>
        <div>
            <li style="float: left;">
                <div class="addc1"><a href=""><img src="__IMG__/san1.jpg" height="75" width="75" class="preview1"></a></div>
                <div class="addc2">太阳网</div>
                <div class="addc3">亚洲最高效的搜索平台</div>
            </li>
            <volist name="listasc" id="acc" offset="0" length='7'>
                <li style="float: left;">
                    <div class="addc1"><a href=""><img src="__IMG__/san1.jpg" height="75" width="75" class="preview1"></a></div>
                    <div class="addc2">{$acc.title}</div>
                    <div class="addc3">亚洲最高效的搜索平台</div>
                </li>
            </volist>
            <if condition="$kw neq ''  && $usersvip[0][vip] egt 1">
                <if condition="$usersvip[0][vip] egt 1 ">
                    <li>
                        <button class="btn-primarya"><a target="_blank" href="__CONTROLLER__/addc/<?php echo $ret[''];?>">+</a></button>
                    </li>
                    <else />
                    <li></li>
                </if>
        </div>
        <br>
        <div>
            <!-- 知识图谱 -->
        </div>
        <!-- 热门超链  kw-->
        <div class="sidebar_pera">
            <dl>
                <dt>
                    <a href="" class="more"><span class="more-sign"></a>
                    <br> 热门添加 <span class="name-en">
				        </dt>
				        <br>
					    <volist name="listas" id="ac" offset="0" length='10'>
					     <dd class="rlist">
					         <i class="number">{$i}</i>
					         <a target="_blank"  href="{$ac.link}">{$ac.title}</a>
					     </dd>
					    </volist>
				    </dl>
				</div>
				<br>
				<br>
				<br>
					<div class="sidebar_per">
					    <dl>
					        <dt>
					        <a href="" class="more"><span class="more-sign"></a>
					        <br>
					        标签云 <span class="name-en">
					        </dt>
					        <br>
					        <dd class="sidebar_tags">
						        <volist name="tagsArr" id="tags">
						        <a href="" style="margin:0 6px 10px 0">{$tags}</a>
						        </volist>
					        </dd>
					    </dl>
					</div>
					<div class="sidebar_yan">
					    <dl>
					        <dt>
					        <a href="" class="more"><span class="more-sign"></a>
					        <br>
					        今日言论<span class="name-en">
					        </dt>
					        <br>
					        <dd class="">
						      	<li>
							      		<a href="" target="_blank" data-stat-click="">
								      		<div class="biggie_photo" style="background-image: url(&quot;https://pic.36krcnd.com/avatar/201707/05104204/rqf8pi4yan50gluu.jpg&quot;);"></div>
								      		<div class="biggie_wrapper">
								      			<div class="biggie_name">李彦宏</div>
								      				<p class="biggie_content">百度的竞争对手会收购产品，为产品和用户量付费，但不会为技术付费，只有百度，愿意为技术付费。</p>
								      		</div>
							      		</a>
						      		</li>
						      		<li><a href="http://36kr.com/p/5083600.html" target="_blank" data-stat-click="sidebar.todaycomment.90.click"><div class="biggie_photo" style="background-image: url(&quot;https://pic.36krcnd.com/avatar/201707/14025445/56dzb352qjzyd3oa.jpg&quot;);"></div><div class="biggie_wrapper"><div class="biggie_name">潘石屹</div><p class="biggie_content">让我们建的每一平方米房子，每一个车位都能像共享单车一样，充分利用起来，这就是房地产的未来。今天，你说拥有多少土地，拥有多少房子都不重要，这是旧观念。所以，我要多学点互联网和人工智能的东西。</p></div></a></li>
						      		<li><a href="http://36kr.com/p/5083233.html" target="_blank" data-stat-click="sidebar.todaycomment.89.click"><div class="biggie_photo" style="background-image: url(&quot;https://pic.36krcnd.com/avatar/201707/12094511/b1rljzdrc8oq4jan.jpg&quot;);"></div><div class="biggie_wrapper"><div class="biggie_name">缤果盒子陈子林</div><p class="biggie_content">不要从传统便利的角度来看无人便利店，因为成本结构完全不同，所以整个逻辑也不一样。便利店靠的是人流，我们需要的是刚需驱动的长期固定的用户。</p></div></a></li>
					        </dd>
					    </dl>
					</div>
			</div> 
		</div>
		<div class="row"> &nbsp</div>
		<div class="row"> &nbsp</div>
		<div class="row"> &nbsp</div>
		<div class="row boderkw2">
			<br>
			<div class="col-md-1"></div>
					
			<div class="col-md-1">
				<ul>
					<li class="tag-item" style="padding-left: 10px; padding-right: 10px;">你好</li>
					<volist name="listasi" id="aci" offset="0" length='20'>
						<li class="tag-item" style="float:left; padding-left: 10px; padding-right: 10px;">{$aci.title}</li>
					</volist>
				</ul> 
			</div>
				<if condition="$kw neq ''  && $usersvip[0][vip] egt 1">
							<if condition="$usersvip[0][vip] egt 1 ">
						<li>
							<button class="btn-primarya"><a target="_blank" href="__CONTROLLER__/addi/<?php echo $ret[''];?>">+</a></button></li>
						<else />
								<li></li>
					  	</if>
		</div>
		<div class="row"> &nbsp</div>
		<div class="row"> &nbsp</div>
		<div class="row"> &nbsp</div>
	</div>
<script type="text/javascript">
	function yj_collection(slin_id){

		var sid = slin_id;
		$.ajax({ 
		type: "post", 
		url: "/index.php/home/search/col",
		datatype:"json", 
		data: {'sid':sid},
		success: function(res){
			 if (res == 1) {
			 	alert('收藏成功');
			 }else{
			 	alert('你已经收藏过了');
			 }
		},
		error: function(res){
			alert('网络错误，请重试！');
		}
		});
	}

	function yj_de_add(slin_id){
		if (confirm('确定要这样做吗？')) {
			var sid = slin_id;
			$.ajax({ 
			type: "post", 
			url: "/index.php/home/search/my_de_add",
			datatype:"json", 
			data: {'sid':sid},
			success: function(res){
				self.location.href="/index.php/home/search/my_collection";
			},
			error: function(res){
				alert(res);
			}
			});
		}
		 
	}
</script>
</body>
</html>